package com.ruoyi.wms;

import com.ruoyi.common.core.utils.file.PrintLogoFile;
import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 系统模块
 * 
 * @author ruoyi
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
//@SpringBootApplication(scanBasePackages = {"com.ruoyi.wms","com.ruoyi.crm"})
@SpringBootApplication
//@MapperScan({"com.ruoyi.wms.mapper"})

public class KrsWmsApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(KrsWmsApplication.class, args);

        PrintLogoFile.print(System.getProperty("user.dir") + "/ruoyi-modules/krs-wms/logo.txt");

    }
}